<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--

    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.

-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Standard Java SE Project Properties Dialog Box: Compiling</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>

<body>
<p><a id="org.netbeans.modules.java.j2seproject.ui.customizer.CustomizerCompile" name="org.netbeans.modules.java.j2seproject.ui.customizer.CustomizerCompile"></a></p>
<div id="NBCSH2094"><!-- infolevel="all" infotype="General" --><a id="sthref286" name="sthref286"></a>
<h1>Standard Java SE Project Properties Dialog Box: Compiling</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>Use to set general compilation options for your project. 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG373">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>

<table summary="Descriptions of compiler options for standard projects." dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="38%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t15">Element</th>
<th align="left" valign="bottom" id="r1c2-t15">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t15" headers="r1c1-t15">
<p>Compile on Save</p>
</td>
<td align="left" headers="r2c1-t15 r1c2-t15">Compiles files when you save them. This option saves you time when you run or debug your application in the IDE.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t15" headers="r1c1-t15">
<p>Generate Debugging Info</p>
</td>
<td align="left" headers="r3c1-t15 r1c2-t15">Includes information necessary for stopping at breakpoints and stepping through the application with the debugger in the compiled classes.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t15" headers="r1c1-t15">
<p>Report Uses of Deprecated APIs</p>
</td>
<td align="left" headers="r4c1-t15 r1c2-t15">Notifies you of any deprecated APIs that the code uses in the compilation output.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t15" headers="r1c1-t15">
<p>Track Java Dependencies</p>
</td>
<td align="left" headers="r5c1-t15 r1c2-t15">The latest version of any project dependencies is used by the IDE every time you build or run your project. This full dependency check can make the build process significantly slower for large projects. 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG389">
<param name="text" value="<html><u>More</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>

<p>If you leave this option unchecked, you can still have the full dependency check performed by building your project with the <b>Clean and Build</b> command.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t15" headers="r1c1-t15">
<p>Enable Annotation Processing</p>
</td>
<td align="left" headers="r6c1-t15 r1c2-t15">Enables annotation processing during building your project.
<p>If this check box is not selected, compilation proceeds without annotation processing, even if a class path to an annotation processor has been specified on the Libraries tab. This check box corresponds to the <code dir="ltr">-proc:none</code> option of the compiler.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t15" headers="r1c1-t15">
<p>Enable Annotation Processing in Editor</p>
</td>
<td align="left" headers="r7c1-t15 r1c2-t15">Enables annotation processing in the IDE Editor. This means that any additional artifacts that are generated by processors (classes, methods, fields, and such) are visible through the IDE features, such as code completion, Navigator, GoTo Type, Find Usages, and other.
<p>Also, the Editor displays any diagnostic messages produced by annotation processors. In addition, completion suggestions for annotation attribute values produced by annotation processors becomes available in Java code completion.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r8c1-t15" headers="r1c1-t15">
<p>Annotation Processors</p>
</td>
<td align="left" headers="r8c1-t15 r1c2-t15">Enables you to explicitly specify an annotation processor for your project when <b>Add</b> is clicked. In the Add Annotation Processor dialog box, enter a fully qualified name of the annotation processor. This setting corresponds to the <code dir="ltr">&ndash;processor</code> option of the compiler.
<p>To use the annotation processor, you must add it to the classpath or the processor path of your project on the Libraries tab.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r9c1-t15" headers="r1c1-t15">
<p>Processor Options</p>
</td>
<td align="left" headers="r9c1-t15 r1c2-t15">Enables you to pass additional options to the annotation processor associated with your project.
<p>These options are made available for use by individual processors and not interpreted by the compiler. The options are specified in the form <code dir="ltr">-A[key[=val]]</code>. Click <b>Add</b> and specify the key and its value that are recognized by your annotation processor</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r10c1-t15" headers="r1c1-t15">
<p>Additional Compiler Options</p>
</td>
<td align="left" headers="r10c1-t15 r1c2-t15">Enables you to enter any additional compiler options that you need in a space-separated list.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<p>For more information on compiler options, see: <code dir="ltr">
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://docs.oracle.com/javase/6/docs/technotes/tools/windows/javac.html">
<param name="text" value="<html><u>http://docs.oracle.com/javase/6/docs/technotes/tools/windows/javac.html</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</code>.</p>
<p><b>Notes:</b></p>
<ul>
<li>Do not use compiler options like <code dir="ltr">-bootclasspath</code> to cross-compile between Java platforms. Instead, register the target Java platform and set the target JDK for the project.</li>
<li>You can manage the project's classpath by clicking Libraries in the left panel of the dialog box. You can set up file filters for JAR file creation by clicking <b>Packaging</b>.</li>
</ul>
<a id="NBCSH2104" name="NBCSH2104"></a>
<hr><p><b>Related Topics</b></p>
<p>Developing Applications with NetBeans IDE, 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG370">
<param name="text" value="<html><u>&quot;Using Java Project Templates&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>

<!-- -->
<!-- Start Footer -->


<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>
